<?php
namespace app\shop\validate;
use think\Validate;

class AddorderValidate extends Validate
{
    protected $rule = [
        'uid|客户编号' => 'require',
		'gid|商品ID' => 'require',
    ];
	
    protected $message = [

    ];

    //验证场景
    protected $scene = [
        'addorder' => ['uid','gid'],
    ];
}